<form id="add-form" class="form-horizontal" role="form" data-toggle="validator" method="POST" action="">

  

  


<div class="panel panel-default panel-intro">
    <div class="panel-heading">
		<ul class="nav nav-tabs">
			<li  class="active" ><a href="#finance" data-toggle="tab" >财务数据</a></li>
			<li  ><a href="#integral" data-toggle="tab">积分数据</a></li>
	
		</ul>
    </div>
    <div class="panel-body">
        <div id="myTabContent" class="tab-content">
	
			<div class="tab-pane fade active in " id="finance">
				{foreach name="$arr" item="vo"}
					<div class="form-group">
						<label class="control-label col-xs-12 col-sm-2">{$vo['name']}:</label>
						<div class="col-xs-12 col-sm-8">
							<input  class="form-control " step="0.01" name="row[price][{$vo['id']}][price]" type="number" value="{$vo['price_total']??0}">
							<input type="hidden" name="row[price][{$vo['id']}][id]" value="{$vo['books_id']??0}">
						</div>
					</div>
				{/foreach}
			</div>
			<div class="tab-pane fade  " id="integral">
					<div class="form-group">
						<label for="content" class="control-label col-xs-12 col-sm-2">{:__('Integral_accident')}:</label>
						<div class="col-xs-12 col-sm-8">
							{:build_radios('row[integral][integral_accident]', $WeekInfo['IntegralAccident'], $row['integral_accident'])}
						</div>
					</div>
					<div class="form-group">
						<label for="content" class="control-label col-xs-12 col-sm-2">{:__('Integral_complaint')}:</label>
						<div class="col-xs-12 col-sm-8">
							{:build_radios('row[integral][integral_complaint]', $WeekInfo['IntegralComplaint'], $row['integral_complaint'])}
						</div>
					</div>
					<div class="form-group">
						<label for="content" class="control-label col-xs-12 col-sm-2">{:__('Integral_word')}:</label>
						<div class="col-xs-12 col-sm-8">
							 <input type='text' class="form-control" id="integral_word" name="row[integral][integral_word]" value="{$row.integral_word}"  />
						</div>
					</div>
					<div class="form-group">
						<label for="content" class="control-label col-xs-12 col-sm-2">{:__('Integral_follow')}:</label>
						<div class="col-xs-12 col-sm-8">
							 <input type='text' class="form-control" id="integral_follow" name="row[integral][integral_follow]" value="{$row.integral_follow}"  />
						</div>
					</div>
				
					<div class="form-group">
						<label for="content" class="control-label col-xs-12 col-sm-2">{:__('Integral_reserve')}:</label>
						<div class="col-xs-12 col-sm-8">
							 <input type='text' class="form-control" id="integral_reserve" name="row[integral][integral_reserve]" value="{$row.integral_reserve}"  />
						</div>
					</div>
					<div class="form-group">
						<label for="content" class="control-label col-xs-12 col-sm-2">{:__('Integral_take')}:</label>
						<div class="col-xs-12 col-sm-8">
							 <input type='text' class="form-control" id="integral_take" name="row[integral][integral_take]" value="{$row.integral_take}"  />
						</div>
					</div>
					<div class="form-group">
						<label for="content" class="control-label col-xs-12 col-sm-2">{:__('Integral_subtraction')}:</label>
						<div class="col-xs-12 col-sm-8">
							{:build_checkboxs('row[integral][integral_subtraction][]', $WeekInfo['IntegralSubtraction'], $row['integral_subtraction'])}
						</div>
					</div>
			</div>

          
        </div>
    </div>
	<div class="form-group layer-footer">
        <label class="control-label col-xs-12 col-sm-2"></label>
        <div class="col-xs-12 col-sm-8">
            <button type="submit" class="btn btn-success btn-embossed disabled">{:__('OK')}</button>
            <button type="reset" class="btn btn-default btn-embossed">{:__('Reset')}</button>
        </div>
    </div>
</div>

</form>
